<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=get_var('title', 'Error !')?></title>
<link rel="stylesheet" href="<?=url('css/error.css')?>" type="text/css" />
<style type="text/css">
body {font:14px Tahoma, Arial, Verdana; line-height:180%;}
h1, h2, h3, h4, h5 {font-weight:bold; margin:15px 0;}
h1 {font-size:28px;}
h2 {font-size:24px;}
h3 {font-size:20px;}
h4 {font-size:16px;}
h5 {font-size:14px;}
img {border:none;}
</style>
</head>

<body>

<? partial_view('error/__' . get_var('code', 404)) ?>

<? if (! PRODUCTION || $this->request->getQuery('debug') === 'yes'): ?>
<div id="runtime-info">
    <? partial_view('runtime/trace') ?>
    <? partial_view('runtime/profiler') ?>
</div>
<? endif; ?>

</body>
</html>
